/**
 * Created by hms on 2020-08-22.
 */
import request from '@/utils/request'

export function getPersonTypeList(data){
    return request({
        url:'/persontypelist',
        method:'get',
        params:data
    });
}

export function editPersonType(data){
    return request({
       url:'/editpersontype',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getPersonTypeInfo(data){
    return request({
        url:'/persontypeinfo',
        method:'get',
        params:data
    });
}

export function delPersonType(data){
    return request({
        url:'/delpersontype',
        method:'get',
        params:data
    });
}

export function getAllPersonType(data){
    return request({
        url:'/allpersontype',
        method:'get',
        params:data
    });
}
